package com.hy.controller;

import com.hy.service.AdminService;
import com.hy.service.impl.AdminServiceImpl;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class AdminController{
    private AdminService adminService = new AdminServiceImpl();

    public void selectLogin(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.selectLogin(request,response);
    }

    public void tz(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.tz(request,response);
    }

    public void selectCard(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.selectCard(request,response);
    }

    public void updateCard(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.updateCard(request,response);
    }

    public void selectReportUser(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.selectReportUser(request,response);
    }

    public void selectReportCard(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.selectReportCard(request,response);
    }

    public void selectReportComment(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.selectReportComment(request,response);
    }

    public void updateReportUser(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.updateReportUser(request,response);
    }

    public void updateReportCard(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.updateReportCard(request,response);
    }

    public void updateReportComment(HttpServletRequest request, HttpServletResponse response) throws Exception {
        adminService.updateReportComment(request,response);
    }
}
